<?php
namespace app\index\controller;


use think\Controller;

class Index extends Controller
{
    public function __construct()
    {
        parent::__construct();
        $data = $this->getData();
        $this->assign('data',$data);
    }

    public function index()
    {

        return $this->fetch();
    }
    public function about()
    {

        return $this->fetch();
    }
    public function gbook()
    {
        return $this->fetch();
    }
    public function info()
    {
        return $this->fetch();
    }
    public function list()
    {
        return $this->fetch();
    }
    public function share()
    {
        return $this->fetch();
    }

    private function getData()
    {
        $obj = new Data();
        $data = $obj->fakecode();
        return $data;
    }

}
